package com.worthtech.billportal.bean;

/**
 * CsLiqParaLwId entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class CsLiqParaLwId implements java.io.Serializable {

	// Fields

	private String csLiqMercode;
	private String csLiqTercode;
	private String csLiqCode;

	// Constructors

	/** default constructor */
	public CsLiqParaLwId() {
	}

	/** full constructor */
	public CsLiqParaLwId(String csLiqMercode, String csLiqTercode,
			String csLiqCode) {
		this.csLiqMercode = csLiqMercode;
		this.csLiqTercode = csLiqTercode;
		this.csLiqCode = csLiqCode;
	}

	// Property accessors

	public String getCsLiqMercode() {
		return this.csLiqMercode;
	}

	public void setCsLiqMercode(String csLiqMercode) {
		this.csLiqMercode = csLiqMercode;
	}

	public String getCsLiqTercode() {
		return this.csLiqTercode;
	}

	public void setCsLiqTercode(String csLiqTercode) {
		this.csLiqTercode = csLiqTercode;
	}

	public String getCsLiqCode() {
		return this.csLiqCode;
	}

	public void setCsLiqCode(String csLiqCode) {
		this.csLiqCode = csLiqCode;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof CsLiqParaLwId))
			return false;
		CsLiqParaLwId castOther = (CsLiqParaLwId) other;

		return ((this.getCsLiqMercode() == castOther.getCsLiqMercode()) || (this
				.getCsLiqMercode() != null
				&& castOther.getCsLiqMercode() != null && this
				.getCsLiqMercode().equals(castOther.getCsLiqMercode())))
				&& ((this.getCsLiqTercode() == castOther.getCsLiqTercode()) || (this
						.getCsLiqTercode() != null
						&& castOther.getCsLiqTercode() != null && this
						.getCsLiqTercode().equals(castOther.getCsLiqTercode())))
				&& ((this.getCsLiqCode() == castOther.getCsLiqCode()) || (this
						.getCsLiqCode() != null
						&& castOther.getCsLiqCode() != null && this
						.getCsLiqCode().equals(castOther.getCsLiqCode())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getCsLiqMercode() == null ? 0 : this.getCsLiqMercode()
						.hashCode());
		result = 37
				* result
				+ (getCsLiqTercode() == null ? 0 : this.getCsLiqTercode()
						.hashCode());
		result = 37 * result
				+ (getCsLiqCode() == null ? 0 : this.getCsLiqCode().hashCode());
		return result;
	}

}